<template>
	<view class="h-fill">
		<u-navbar title="提现记录" :background="navBg" titleColor="#fff" backIconColor="#fff"></u-navbar>
		<view>
			<withdraw-list ref="withdrawList"></withdraw-list>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				navBg: {
					'background-image': 'linear-gradient(to right, #434AD8, #8E77F5)'
				}
			};
		},
		onReady() {
			this.$refs.withdrawList.reload();
		},
		async onPullDownRefresh() {
			await this.$refs.withdrawList.reload();
			uni.stopPullDownRefresh();
		},
		onReachBottom() {
			this.$refs.withdrawList.loadMore();
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #FFFFFF;
	}
</style>
